<script setup lang="ts">
  import MyDialog from "./components/MyDialog.vue";
</script>

<template>
  <MyDialog>

    <template #header>
      <h2 >危险提示</h2>
    </template>

    <template #default>
      <h3 class="title">你确定要删除吗</h3>
    </template>

    <template #footer>
      <button>登录</button>
      <button>注册</button>
    </template>

  </MyDialog>
</template>

<style scoped>
  .title{
    color: #333;;
  }
</style>
